package com.yhsimon.responsibilitychain;

/** 请求类
 * @author： YHSimon
 * @date： 2021-10-24 15:07
 */
public class PurchaseRequest {
    private int type=0;
    private int id=0;
    private float price=0.0f;


    public PurchaseRequest(int type, int id, float price) {
        this.type = type;
        this.id = id;
        this.price = price;
    }

    public int getType() {
        return type;
    }

    public int getId() {
        return id;
    }

    public float getPrice() {
        return price;
    }
}
